Scripts
Use the Investigate page to construct and execute ad hoc scripts on identified endpoints in order to perform threat counteraction measures or gather additional information on them.
Choose the Script Target
-
In the Endpoints field, enter the ID of one or more endpoints in your organization that will have the script run against them.
-
You can add multiple endpoints. Click Random Endpoints () at the right end of the field.
-
Type the number of random endpoints you wish to run the script against into the Number field, if you wish to include more or less than ten endpoints.
-
Click Add. The endpoints are then added to the Endpoints field.
To remove an endpoint from the field, click the X at the right end of the endpoint label.
The Add Multiple Endpoints dialog opens.
Note: | The default value for the Endpoints field is 10, it is not the maximum number of endpoints you can include in a script run. This value can be changed by either typing in a new number into the field or using the up and down arrows to specify another number. |
Enter a Script
You can type in or paste a Python script into the Custom Script field, or select one from the Catalog.
-
Click Browse. The Script Catalog dialog opens.
-
Click on a script name to view detailed information.
-
Choose a script from the list.
This catalog contains a rich collection of pre-defined scripts that have been created by the Orbital engineering team and TRE (Threat Research for Endpoint) to help you get started. This information should help you quickly learn how powerful Orbital is for threat hunting.
A Search field appears at the top of the dialog. The script list will automatically adjust to display only those catalog script that contain the search term(s).
The script detail dialog includes a detailed script description, plus the ID, OS, Categories, ATT&CK™ Techniques and Tactics, information and warning messages, and the Python script.
Note: | Some catalog scripts will require additional parameters once they have been added. These scripts will display one or more Parameters fields describing the required information after they've been added. |
Note: | The Python code added from the Catalog will be hidden by default. To display the code, click on the name of the catalog script. |
Note: | Any values or parameters you enter into the Investigate page fields will be retained if you move to another page or tab, then return to the Investigate page. However, if you click Clear, refresh your browser, or your Orbital session expires, any values entered into the Investigate page fields will not be retained. |
Save to the Catalog
To save a custom script to the Orbital catalog:
-
Navigate to Orbital's Investigate page.
-
Place your cursor in the Custom Script field.
-
Type your Python code into the Custom Script field. You will notice that as you type your Python code, the Save Script button is displayed.
-
Click Save Script. This will display the Save Script dialog.
-
Type the name that the script will be saved under in the catalog in the Script Name field.
-
Type a description of the script into the Description field.
-
Select the operating system or operating systems that the script will be run against, using the OS checkboxes. This defaults to no operating systems selected. Once you have selected one or more operating systems, the Save button will be displayed.
-
Click Save. This will remove the Save Script dialog from the screen and return to the Investigate page. The newly saved script is listed at the bottom of the page.